<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="fragments/head :: head"></head>
<body >
<div th:replace="fragments/top-nav :: header-nav"></div>
<div class="main-container" id="main-container">
	<div class="main-container-inner">
		<div class="main-content mayi-rsm-main-content">
			<div class="page-content">
				<div class="row">
					<div class="col-xs-12" th:fragment="com-pwd-change" >
						<form class="form-horizontal" id="submitForm">
							<div class="form-group">
								<label class="col-sm-3 control-label no-padding-right text-warning" >密码*</label>
								<div class="col-sm-9">
									<input type="text" id="password" name="password" class="col-xs-10 col-sm-5" />
								</div>
							</div>
							<div class="clearfix form-actions">
								<div class="col-md-offset-3 col-md-9">
									<button class="btn btn-info btn-sm" type="button" onclick="save()">
										<i class="icon-ok bigger-110"></i>
										提交
									</button>
								</div>
							</div>
						</form>
				</div>
			</div>
		</div>
	</div>
</div>
</div>
<div th:replace="fragments/footer :: footer"></div>
	<script th:inline="javascript">
	function save(){
		/*<![CDATA[*/
	 	if(check.checkEmpty("password")){
			var uri = /*[[@{/admin/user/pwd/change}]]*/;
			common.ajaxSubmit(uri,'submitForm','保存失败','保存成功','addSucc()');
		}
		/*]]>*/
	}
	function addSucc(){
		var uri = /*[[@{/admin/home}]]*/;
		common.reload(uri);
	}
</script>
</body>
</html>
